<?php /*a:1:{s:52:"E:\Project\driving\app\index\view\view_log\view.html";i:1587622367;}*/ ?>
<html>
<head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <link href="http://www.sgfoot.com/favicon.png" rel="shortcut icon"/>
    <title>日记查看系统</title>
    <style>
        *{
            margin: 0;
            padding:0;
        }
        .row{
            margin: 10px auto;
            width:80%;
        }
        .col{
            width:30%;
            height:25px;

            float: left;

            margin-right: 23px;
        }
    </style>
</head>
<body>
<h1 align="center" style="margin-bottom: 10px;">日记查看系统</h1>
<h3 align="center" style="margin-bottom: 20px;">
    <a href="index.html">回到首页</a> ||
    <a href="javascript:history.go(-1);">返回上一页</a>
</h3>
<div align="center">
    <div class="row">
        <dl  class="col">名称</dl>
        <dl  class="col">最后修改时间</dl>
        <dl  class="col">大小</dl>
    </div>
    <?php foreach($data as $key=>$vo): ?>
    <div class="row">
        <?php if($vo['isfile'] == 1): ?>
            <div  class="col"><a href="<?php echo url('view'); ?>?dirpath=<?php echo htmlentities($vo['url']); ?>" target="_blank"><?php echo htmlentities($vo['name']); ?></a></div>
        <?php else: ?>
            <div  class="col"><a href="<?php echo url('view'); ?>?dirpath=<?php echo htmlentities($vo['url']); ?>"><?php echo htmlentities($vo['name']); ?></a></div>
        <?php endif; ?>
        <div  class="col"><?php echo htmlentities($vo['time']); ?></div>
        <div  class="col"><?php echo htmlentities($vo['size']); ?></div>
    </div>
    <?php endforeach; ?>

</div>
<div class="footer">

</div>
</body>
</html>

